<template>
  <div class="dashContent">
    <div class="header">
      <div class="title">
        <div class="line" />
        <div class="text name">环境监测</div>
        <!-- <div class="text">查看详情&nbsp;></div> -->
      </div>
    </div>
    <div class="content">
      <div class="div">
        <div class="conbg">
          <div>
            <img src="../../../assets/images/huanjing1.png" alt="">
          </div>
        </div>
        <div class="conbg">
          <div>
            <img src="../../../assets/images/huanjing1.png" alt="">
          </div>
        </div>
        <div class="conbg">
          <div>
            <img src="../../../assets/images/huanjing2.png" alt="">
          </div>
        </div>
      </div>
    </div>
    <div class="time">
      <div class="text">
        <div>
          <div class="num">PM2.5</div>
          <div class="msg">9μg/m³</div>
        </div>
        <div>
          <div class="num">PM10</div>
          <div class="msg">9μg/m³</div>
        </div>
        <div>
          <div class="num">噪音</div>
          <div class="msg">60dB</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'EnvironmentalTest',
  data() {
    return {
      percentage: 16, // 百分百
      customColors: [
        { color: '#44B1FF' }
      ]
    }
  },
  computed: {

  }
}
</script>

<style lang="scss" scoped>
.dashContent {
  .header{
    .title{
      display: flex;
      padding: 8px 0 0 6px;
      .line{
        width:4px;
        height:16px;
        background:#ffffff;
        margin-right: 8px;
    }
    .text{
      flex: 1;
      font-size:14px;
      font-weight:500;
      color:#ffffff;
      cursor: pointer;
    }
    .name{
      flex-grow: 4;
    }
    }
  }
  .content{
    margin: 15px 0 0 18px;
    .div{
        display: flex;
        margin-bottom: 12px;
        .conbg{
        width:50%;
        height:70px;
        background:rgba(37, 38, 47, 1);
        // background:linear-gradient(90deg,rgba(0,197,255,0.2) 0%,rgba(0,197,255,0.01) 100%);
        margin: 0 22px 0 15px;
        .title{
          font-size:14px;
          font-weight:500;
         color:rgba(247,181,0,1);
          text-align: center;
          padding: 12px 0;
        }
        .name{
          font-size:18px;
          font-weight:400;
          color:rgba(255,255,255,1);
          text-align: center;
        }
      }
    }
  }
  .footer{
    .text{
      font-size:14px;
      font-weight:500;
      color:#F7B500;
      display: flex;
      flex: 1;
      .mag{
        flex: 1;
        margin: 0 42px 0 0;
        .num{
          font-size:12px;
          font-weight:400;
          color:rgba(255,255,255,1);
        }
      }
    }
  }
  .time{
    background: url('../../../assets/images/dashboard-bottom.png');
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    font-size:12px;
    font-weight:400;
    color:rgba(255,255,255,1);
    height: 68px;
    margin-top: 18px;
    .text{
      display: flex;
      margin-top: 10px;
      div{
        flex: 1;
        // margin-left: 28px;
        text-align: center;
        .num{
          font-size:12px;
          font-weight:400;
          color:rgba(255,255,255,1);
          margin-bottom: 5px;
        }
        .msg{
          font-size:14px;
          font-weight:bold;
          color:rgba(247,181,0,1);
        }
      }
    }
  }
}
</style>
